<?php

    require_once("FDMSsandbox.php");
    
/*
 *  this is basically a passthru for the showVitals.do page.  it's here so we
 *  don't automatically get a redirect that sends us back to the FDMS page, but
 *  rather we get sent back to our sandbox page.  sooo, it has to
 *
 *  1) bring in the $_POST[] vars and construct a CGI string from them
 *  2) invoke processVitals.do and capture the output from it
 *  3) check the output and send us back to our sandbox page (or somewhere else)
 */

    $jsessionid = $_COOKIE["JSESSIONID"];
    setcookie("JSESSIONID", $jsessionid);
        
    $results = update_FDMS_vitalsPage( $jsessionid, $_POST );
    
    echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.aldordemo.com/Zend-Project/index.php\">";
?>
